<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录页</title>
</head>
<body>
{{ get_flashed_messages()[0] }}     <!--注册成功-->
{{ get_flashed_messages()[1] }}    <!--登录失败-->
    <form action="" method="post">
        <label>用户名：<input type="text" name="username"></label>
        <label>密&nbsp;&nbsp;&nbsp;码：<input type="password" name="password"></label>
        <label><input type="submit" value="登录"></label>
    </form>
</body>
</html>